<div ng-repeat="item in data"
      ng-init="length=data.length-1;data = item.children;item.show=false"
    >
    <div ng-if="item.select==1">
        <div class="inline">
            <i class="fa fa-plus-square-o  h6 pull-left m-r-xs" ng-click="item.show=!item.show" ng-if="item.children.length>0 && !item.show"></i>
            <i class="fa fa-minus-square-o h6 pull-left m-r-xs" ng-click="item.show=!item.show" ng-if="item.children.length>0 && item.show"></i>
            <i ng-if="item.children.length<=0" class="pull-left m-r-xs">&nbsp</i>
            <span class="pull-left block h6 w-xs text-ellipsis">{{item.label}}</span>
        </div>
    </div>
    <div class="m-l" ng-include="'tpl/postage/postage_tree.html'" ng-if="item.show"></div>
</div>